home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v04n12
/
batch2.exe
/
NUMBER.BAT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
DOS Batch File
|
1991-10-10
|
279 b
|
13 lines
@ECHO OFF
REM This is NUMBER.BAT
IF %1!==! GOTO OOPS
COPY %1 BACKUP! > NUL
FIND /N /V "!@#$" %1 | FIND /V "----------" > %1
ECHO File %1 now has line numbers
GOTO END
:OOPS
ECHO Enter the name of the file
ECHO you want to add line numbers
ECHO to after the %0
:END